package com.weseal.dry.controller;


import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @title
 * @description
 * @usage
 * @copyright Copyright 2014  rrmj Corporation. All rights reserved.
 * @company 上海众多美网络科技有限公司
 * @author weseal
 * @create 2018/3/27
 */
@Controller
public class IndexController {

	private static final Logger logger  = LogManager.getLogger(IndexController.class);


	@RequestMapping(value = "/index",method = RequestMethod.GET)
	public String index(){
		logger.info("init index");
		return "index";
	}

	@RequestMapping(value = "/login",method = RequestMethod.GET)
	public String login(){
		return "login";
	}
}
